package com.xhwl.centiotdata.pojo.constant;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * @Author： lianghz
 * @Description：
 * @Date 2021/10/29/ 09:58
 */
public final class HaiKangConstant {


    public static final String ACCESS_TOKEN = "access_token";

    public static final String CLIENT_ID = "client_id";

    public static final String CLIENT_SECRET = "client_secret";

    public static final String ARTEMIS = "/artemis";

    /**
     * 门禁事件类型
     * 196893:人脸认证通过
     * 197127:指纹比对通过
     * 198914:合法卡比对通过
     */
    public static final List<Integer> DOOR_EVENT_LIST = Collections.unmodifiableList(Arrays.asList(196893,198914));

    /**
     * api
     */
    public static final String TOKEN_URL = "/oauth/token";

    public static final String PERSON_ADD_URL = "/api/resource/v2/person/single/add";

    public static final String PERSON_LIST_URL = "/api/resource/v2/person/advance/personList";

    public static final String PERSON_INFO_URL = "/api/resource/v1/person/condition/personInfo";

    public static final String FACE_ADD_URL = "/api/resource/v1/face/single/add";

    public static final String FACE_DELETE_URL = "/api/resource/v1/face/single/delete";
    //控制音柱设备自定义广播
    public static final String CUSTOM_BROADCAST = "/api/ibas/v1/customBroadcast";
    //获取音柱设备
    public static final String PULL_YINZHU_DEVICE = "/api/ibas/resource/v1/fetchAudioDevice";
    //通过音柱设备获取广播点
    public static final String PULL_BROAD_BY_DEVICE = "/api/ibas/resource/v1/fetchAudioChannelByDevice";
    //分页获取广播点
    public static final String PULL_BROAD_PAGE = "/api/ibas/resource/v1/fetchAudioChannel";

    /**
     * 修改人员
     */
    public static final String PERSON_UPDATE_URL_V2 = "/api/resource/v1/person/single/update";

    /**
     * 删除人员
     */
    public static final String PERSON_DELETE_URL = "/api/resource/v1/person/batch/delete";

    /**
     * 人脸更新
     */
    public static final String PERSON_UDPATE_FACE_URL = "/api/resource/v1/face/single/update";

    public static final String CARD_BIND_URL = "/api/cis/v1/card/bindings";

    public static final String CARD_UNBIND_URL = "/api/cis/v1/card/batch/unLoss";

    public static final String DOOR_SEARCH_URL = "/api/resource/v2/door/search";

    public static final String DOOR_STATES_URL = "/api/acs/v1/door/states";

    public static final String DOOR_EVENTS_URL = "/api/acs/v2/door/events";

    public static final String DOOR_VISITOR_URL = "/api/visitor/v1/event/turnover/search";

    public static final String DOOR_CONTROL_URL = "/api/acs/v1/door/doControl";
    public static final String AUTH_ADD_URL = "/api/acps/v1/auth_config/add";

    public static final String AUTH_DELETE_URL = "/api/acps/v1/auth_config/delete";

    public static final String VISITOR_APPOINTMENT_URL = "/api/visitor/v2/appointment";

    public static final String VISITOR_APPOINTMENT_UPDATE_URL = "/api/visitor/v2/appointment/update";

    /**
     * 取消访客预约
     */
    public static final String VISITOR_APPOINTMENT_CANCEL_URL = "/api/visitor/v1/appointment/cancel";

    /**
     * 取消访客预约
     */
    public static final String VISITOR_APPOINTMENT_OUT_URL = "/api/visitor/v1/visitor/out";

    /**
     * 访客权限组
     */
    public static final String VISITOR_PRIVILEGE_GROUP_URL = "/api/visitor/v1/privilege/group";
    /**
     * 访客预约记录
     */
    public static final String REGISTER_URL = "/api/visitor/v2/appointment/records";
    /**
     * 访客二维码
     */
    public static final String VISITOR_AUTH_QRCODE_URL = "/api/visitor/v1/auth/qcode";

    /**
     * 分页获取区域列表
     */
    public static final String REGION_INFO_URL = "/api/resource/v1/region/regionCatalog/regionInfo";

    /**
     * 根区域信息
     */
    public static final String REGINON_ROOT_URL = "/api/resource/v1/regions/root";

    /**
     * 批量添加区域
     */
    public static final String REGION_ADD_URL = "/api/resource/v1/region/batch/add";

    /**
     * 更新区域信息
     */
    public static final String REGION_UPDATE_URL = "/api/resource/v1/region/single/update";


    /**
     * 根组织信息
     */
    public static final String ORG_ROOT_URL = "/api/resource/v1/regions/root";

    /**
     * 批量添加组织
     */
    public static final String ORG_ADD_URL = "/api/resource/v1/org/batch/add";

    /**
     * 更新组织信息
     */
    public static final String ORG_UPDATE_URL = "/api/resource/v1/org/single/update";

    /**
     * 删除组织信息
     */
    public static final String ORG_DELETE_URL = "/api/resource/v1/org/batch/delete";

    /**
     * 权限分配执行
     */
    public static final String AUTH_DOWNLOAD_URL = "/api/acps/v1/authDownload/configuration/shortcut";

    /**
     * 下载进度查询
     */
    public static final String AUTH_DOWNLOAD_QUERY = "/api/acps/v1/authDownload/task/progress";

    /**
     * 绑定卡片
     */
    public static final String CARD_BINDING_URL = "/api/cis/v1/card/bindings";

    /**
     * 解绑卡片
     */
    public static final String CARD_DELETION_URL = "/api/cis/v1/card/deletion";

}
